<?php
namespace app\admin\model;

use think\Model;

class AssettableModel extends Model{
    // 确定链接表名
    protected $name = 'table_asset';

	public function getListRows($where,$offset,$limit,$order){
		return $this->where($this->WhereCansee())
			->where($where)->limit($offset,$limit)->order($order)->select();
	}

	public function getCount($where){
		return $this->where($where)->where($this->WhereCansee())->count();
	}
}
